package com.woniuxy.oldmanapi.cvo;

import com.woniuxy.oldmanapi.entity.Delivery;
import com.woniuxy.oldmanapi.entity.Medicine;
import com.woniuxy.oldmanapi.entity.Older;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
public class DeliveryDetailVo {


    private Integer id;

    private Integer deliveryId;
    private DeliveryVo deliveryVo;

    private Integer medicineId;
    private  Medicine medicine;

    private Integer count;

    private String desc;

    private Date createtime;

    private BigDecimal price;
    private  BigDecimal sumPrice;

}
